package com.neusoft.ysu.elm02.service;

import com.neusoft.ysu.elm02.entity.CommonResult;
import com.neusoft.ysu.elm02.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2023-08-18
 * 干掉了继承
 */
public interface IDeptService  {

    CommonResult insert(Dept dept);

    CommonResult deleteById(int id);

    CommonResult update(Dept dept);

    CommonResult selectAll();

    CommonResult selectById(int id);

    CommonResult findDnameList(String dname);
}
